package com.kun.music.dao;

import com.kun.music.domain.Singer;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SingerMapper {

    List<Singer> allSinger();

    int addSinger(Singer singer);

    int updateSingerPic(Singer singer);

    int updateSingerInfo(Singer singer);

    int deleteSinger(int id);

    List<Singer> singerByName(String name);

}